<template>
  <label class="checkbox">
      <input type="checkbox" @change="change" />
  </label>
</template>

<script>
export default {
    name:'Checkbox',
    methods: {
        change(e){
            this.$emit('change',e)
        }
    },
};
</script>

<style lang="scss" scoped>
.checkbox{
    @include wh(40px,40px);
    border: 1px solid #ccc;
}
</style>